package com.ruoyi.jdgl.zxyd.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 在线预订对象 jdgl_zxyd
 *
 * @author huacai
 * @date 2025-03-08
 */
@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Zxyd extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 在线预订 */
    private String zxydId;

    /** 预订人姓名 */
    @Excel(name = "预订人姓名")
    private String ydRXm;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String lxDh;

    /** 客房管理ID */
    @Excel(name = "客房管理ID")
    private String kfglId;

    /** 入住日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "入住日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date rzRq;

    /** 离店日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "离店日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date ldRq;

    /** 用户ID */
    private Integer userId;

    /** 部门ID */
    private Integer deptId;

    private Integer zj; //总价

    private String fjh; //房间号
}
